
                    <option value="<?php echo $tree['root']->getId(); ?>">
                        <?php echo str_pad('',$tree['root']->getLevel(), '=', STR_PAD_LEFT) . ' ' .$tree['root']->getValue() ;?>
                    </option>
                    <?php foreach($tree['leaves'] as $leave)
                        echo $view->render('Site1Bundle:Tree:treebit', array('tree' => $leave));
                    ?>